package com.skywolf.chem.match.service;

import com.skywolf.chem.match.entity.GroupInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.skywolf.chem.match.params.vo.MatchGroupInfoQueryVo;
import com.skywolf.chem.match.params.vo.MatchGroupPageInfoQueryVo;

/**
 * <p>
 * 赛事组别 服务类
 * </p>
 *
 * @author 
 * @since 2021-09-24
 */
public interface IGroupInfoService extends IService<GroupInfo> {
    void delGroupInfo(Long matchId);

    /**
     * 根据活动编号获取组别列表
     * @param id
     * @param userId
     * @return
     */
    MatchGroupPageInfoQueryVo getMatchInfoById(Long id, Long userId);

    /**
     * 获取组别详情
     * @param matchId
     * @param groupId
     * @param userId
     * @return
     */
    MatchGroupInfoQueryVo getInfo(Long matchId, Long groupId, Long userId);
}
